package com.liang.common.execption;

public class NoStockException extends RuntimeException{
    private Long skuId;
    public NoStockException(Long skuId) {
        super("id:"+skuId+"没有库存了");
    }

    public NoStockException(String msg){
        super(msg);
    }
}
